<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
    	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    	<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>修改商家信息</title>
		<link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
	</head>
	<body>
		<div class="container">
			<form action="${pageContext.request.contextPath }/adminSeller_editSubmit.action" method="post" class="form-horizontal">
				<input name="sid" type="hidden" value="<s:property value="model.sid"/>">
				<fieldset>
					<legend>修改商家信息</legend>
					<div class="form-group">
						<label class="control-label col-sm-2">商家名称</label>
						<div class="col-sm-8">
							<input name="sname" type="text" class="form-control" value="<s:property value="model.sname"/>"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2">信用度</label>
						<div class="col-sm-8">
							<label class="radio-inline">
							  <input type="radio" name="star" id="inlineRadio1" value="1" <s:if test="model.star==1">checked</s:if>> 1星
							</label>
							<label class="radio-inline">
							  <input type="radio" name="star" id="inlineRadio2" value="2" <s:if test="model.star==2">checked</s:if>> 2星
							</label>
							<label class="radio-inline">
							  <input type="radio" name="star" id="inlineRadio3" value="3" <s:if test="model.star==3">checked</s:if>> 3星
							</label>
							<label class="radio-inline">
							  <input type="radio" name="star" id="inlineRadio3" value="4" <s:if test="model.star==4">checked</s:if>> 4星
							</label>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2">创店时间</label>
						<div class="col-sm-8">
							<input name="sdate" type="date" value="<s:date name="model.sdate" format="yyyy-MM-dd"/>"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2">联系地址</label>
						<div class="col-sm-8">
							<input name="address" type="text" class="form-control" value="<s:property value="model.address"/>"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2">联系电话</label>
						<div class="col-sm-8">
							<input name="phone" type="text" class="form-control" value="<s:property value="model.phone"/>"/>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-sm-2"></label>
						<div class="col-sm-8">
							<button type="submit" class="btn btn-default">确定</button>
						</div>
					</div>
				</fieldset>
			</form>
		</div>
	</body>
</html>
